package com.practice.blog.service;

import com.practice.blog.common.pojo.dataobject.BlogInfo;
import com.practice.blog.common.pojo.request.AddBlogParam;
import com.practice.blog.common.pojo.request.UpdateBlogParam;
import com.practice.blog.common.pojo.response.BlogInfoResponse;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: hp
 * Date: 2025-01-30
 * Time: 13:13
 */
public interface BlogService {
    List<BlogInfoResponse> getList();

    BlogInfoResponse getBlogDetail(Integer blogId);

    Boolean addBlog(AddBlogParam addBlogParam);

    Boolean updateBlog(UpdateBlogParam param);

    Boolean deleteBlog(Integer blogId);
}
